body {
    font-family: Arial, sans-serif;
    background-color: #f4f7fc;
    margin: 0;
    padding: 0;
}

.article-container {
    max-width: 800px;
    margin: 20px auto;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.article-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.article-meta {
    display: flex;
    justify-content: space-between; /* 两侧对齐 */
    align-items: center; /* 垂直居中对齐 */
    margin-bottom: 20px;
    color: #888;
}

.article-meta span {
    font-size: 0.9rem;
}

.article-content {
    width: 100%;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    white-space: pre-wrap; /* 保留所有空格和换行符 */
    word-wrap: break-word; /* 防止长单词溢出 */
    overflow-wrap: break-word; /* 兼容性更好的换行 */
}

.article-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.like-button {
    background-color: #409eff;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.like-button:hover {
    background-color: #66b1ff;
}

.time {
    font-size: 0.9rem;
    color: #aaa;
}

.author {
    font-weight: bold;
    color: #333;
}